@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="novelInfoFrom">

            <input type="hidden" id="id" value="${crawlerNovel.id}">
            <input type="hidden" id="statusValue" value="${crawlerNovel.status}">
            <input type="hidden" id="typeIdValue" value="${crawlerNovel.typeId}">
            <input type="hidden" id="sourcesIdValue" value="${crawlerNovel.sourcesId}">
            <input type="hidden" id="placedTopValue" value="${crawlerNovel.placedTop}">
            <input type="hidden" id="recommendValue" value="${crawlerNovel.recommend}">


            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="title" name="书名" underline="true" value="${crawlerNovel.title}"/>
                    <#input id="chapter" name="章节" underline="true" value="${crawlerNovel.chapter}"/>
                    <#select id="typeId" name="所属类别" underline="true" value="${crawlerNovel.typeId}">
                        <option value="1">开发者头条</option>
                        <option value="2">简书</option>
                        <option value="3">知乎</option>
                    </#select>
                    <#select id="sourcesId" name="来源" underline="true" value="${crawlerNovel.sourcesId}">
                        <option value="2">开发者头条</option>
                        <option value="1">今日头条</option>
                        <option value="7">知乎</option>
                        <option value="5">简书</option>
                        <option value="4">3G壁纸站</option>
                        <option value="6">段子哥</option>
                    </#select>
                    <#select id="placedTop" name="是否置顶" underline="true" value="${crawlerNovel.placedTop}">
                        <option value="0">否</option>
                        <option value="1">是</option>
                    </#select>
                    <#select id="status" name="状态" underline="true" value="${crawlerNovel.status}">
                        <option value="1">启动</option>
                        <option value="0">停止</option>
                    </#select>
                </div>

                <div class="col-sm-6">
                    <#input id="content" name="内容" type="text" underline="true" value="${crawlerNovel.content}"/>
                    <#input id="link" name="链接地址" underline="true" value="${crawlerNovel.link}"/>
                    <#input id="novelist" name="描述" underline="true" value="${crawlerNovel.novelist}"/>
                    <#input id="sort" name="排序" underline="true" value="${crawlerNovel.sort}"/>
                    <#select id="recommend" name="是否推荐" underline="true" value="${crawlerNovel.recommend}">
                        <option value="0">否</option>
                        <option value="1">是</option>
                    </#select>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="NovelMgrInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="NovelMgrInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/crawler/novelMgr/novelMgr_info.js"></script>
@}
